#
import unittest
from apps.irhw.mlp_app import MlpApp

class TMlpApp(unittest.TestCase):
    def test_main(self):
        params = {
            'appId': 101 # train
        }
        MlpApp.startup(params=params)

    # python -m unittest uts.apps.irhw.t_mlp_app.TMlpApp.test_predict -v
    def test_predict(self):
        params = {
            'appId': 102 # predict
        }
        MlpApp.startup(params=params)